<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      h1 {
        font-size: 20px;
        /* underline css2下划线 */
        /* text-decoration: underline; */

        /* overline css2上划线 */
        /* text-decoration: overline; */

        /* line-through css2删除线 */
        /* text-decoration: line-through; */

        /* css3中新加的文本修饰 */
        /* text-decoration-line: line-through;
        text-decoration-style: wavy;//wavy 波浪线
        text-decoration-color: red; */

        /* css3中新加的文本修饰 复合属性写法--css2没有这个复合写法*/
        text-decoration: line-through wavy red;
      }
    </style>
  </head>
  <body>
    <h1>文本修饰，比如下划线</h1>
  </body>
</html>
